<?php
class  Module_CallCenter_YunKeFu_ReportData
{
    private static $obj = null;
    private $model = null;

    private function __construct()
    {
        $this->model = new Lib_CallCenter_YunKeFu_Main();
    }

    public static function getInstance()
    {
        if (is_null(self::$obj)) {
            self::$obj = new self();
        }
        return self::$obj;
    }
    //外呼
    public function getReportData($data){
        if(!Lib_Notice::checkData($data,['reportType','yearReport','monthReport','dayReport','timeType'])) return Lib_Notice::response(4001);
        return $this->model->Prequest('v20180426/report/'.__FUNCTION__,$data,0,200);
    }
}